<extend name="Public/base" />

<block name="body">
	<link href="__STATIC__/bootstrap/css/bootstrap.css" rel="stylesheet">
	<!-- 标题栏 -->
	<div class="main-title">
		<h2>{$meta_title}</h2>
	</div>
    
    <div class="container-fluid">
    <label>
           	<a class="btn" href="{:U('addAlias')}">新 增</a>
           	<button class="btn ajax-post confirm" url="{:U('delAlias')}" target-form="ids">删 除</button>
    	</label>

    <div class="row">
    	<div class="div_10"></div>
    </div>
    
    <!-- 数据列表 -->
    <div class="row">
	<table class="table">
    <thead>
        <tr>
		<th class="row-selected row-selected"><input class="check-all" type="checkbox"/></th>
		<th class="">ID</th>
		<th class="">头像</th>
		<th class="">马甲昵称</th>
		<th class="">创建时间</th>
		<th class="">操作</th>
		</tr>
    </thead>
    <tbody>
		<notempty name="_list">
		<volist name="_list" id="vo">
		<tr>
            <td><input class="ids" type="checkbox" name="id[]" value="{$vo.id}" /></td>
            <td>{$vo.id} </td>
			<td><img src="{$vo.avatar_url}" style="width: 100px;"> </td>
			<td>{$vo.nickname}</td>
			<td>{$vo.create_time}</td>
			<td>
				<!--  <a href="{:U('Sheet/changeStatus?method=submit&id='.$vo['id'])}" class="ajax-get">提交</a>-->
				<!--<a title="编辑" href="{:U('editAlias?id='.$vo['id'])}">编辑</a>-->
				<a title="删除" href="{:U('delAlias?id='.$vo['id'])}">删除</a>
            </td>
		</tr>
		</volist>
		<else/>
		<td colspan="9" class="text-center"> aOh! 暂时还没有内容! </td>
		</notempty>
	</tbody>
    </table>
	</div>
    <div class="page">
        {$_page}
    </div>
    </div>
</block>

<block name="script">
	<script src="__STATIC__/bootstrap/js/bootstrap.min.js"></script>
	<script src="__STATIC__/bootstrap-select/js/bootstrap-select.min.js"></script>

	<script type="text/javascript">

    //导航高亮
    highlight_subnav('{:U('Sheet/index')}');
    $(function(){
    	
    });
	</script>
</block>
